#include "stylejsonutil_p.h"
#include "serializeqssdata.h"
#include <QDebug>

using namespace serialization;
bool StyleJsonUtilPrivate::getQssDataFromJson(const QString& js, QList<qss_data::StQssData>& lsData)
{
	lsData.clear();
	if (js.isEmpty())
	{
		qWarning() << "js content is empty!";
		return false;
	}
	//.
	return deserializeJson(js.toStdString(), lsData);
}